package mest.dao.hank;

import mest.entity.plan_productjob_purchase_record;
import mest.entity.plan_productjob_takematerial_record;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface plan_productjob_takematerial_recordMapper {
    int deleteByPrimaryKey(Integer id ,@Param("theirDb")String theirDb);

    int insert(plan_productjob_takematerial_record record ,@Param("theirDb")String theirDb);

    int insertSelective(plan_productjob_takematerial_record record ,@Param("theirDb")String theirDb);

    plan_productjob_takematerial_record selectByPrimaryKey(Integer id,@Param("theirDb")String theirDb);

    int updateByPrimaryKeySelective(plan_productjob_takematerial_record record,@Param("theirDb")String theirDb);

    int updateByPrimaryKey(plan_productjob_takematerial_record record,@Param("theirDb")String theirDb);


    int intsertList(@Param("plan_productjob_takematerial_recordlist")
                            List<plan_productjob_takematerial_record> record,@Param("theirDb")String theirDb);

	int getWareHouseTakematerialNumber(Map<String, Object> map);

	int updateWareHouseTakematerialNumber(Map<String, Object> map);

	int intsertWarehouseTakematerial(Map<String, Object> map);

	int insertWareHousePJTakematerial(Map<String, Object> map);



}